<script>
	// import {wxAuthorize} from "./utils/util.js"
	export default {
		onLaunch: function() {
			console.log('App Launch');
			//教师端
			this.$store.commit('setIsTeacher',this.$route.path.includes('/pages/teacher'));
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import '//at.alicdn.com/t/font_2241597_b4ei2wj1t9q.css';
	/* uni.css - 通用组件、模板样式库，可以当作一套ui库应用 */
	@import './common/uni.css';

	/* 设置全局样式 */
	page {
		background-color: #F1F1F1;
	}

	a:link,
	a:visited,
	a:hover,
	a:active {
		text-decoration: none;
	}
</style>
